<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  
  <script>

    var a = 10

    // 对a进行操作后 又赋值给a这样的操作就叫做原地修改
    a = a + 1
    // 上面的式子还可以写作这样
    a += 1
  </script>
</body>
</html>